#set(seoTitle="我的私信")
#@layout()
#define main()
<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<div class="aw-mod aw-inbox-read">
						<div class="mod-head common-head">
							<h2><a href="/my" class="pull-right">返回私信列表 »</a>私信对话：</h2>
						</div>
						<div class="mod-body">
							<!-- 私信内容输入框　-->
							<a href="/user/detaile/#(loginAccount.uid)" data-id="#(loginAccount.uid)" class="aw-user-img aw-border-radius-5">
								<img src="/upload/avatar/#(loginAccount.avatar)" alt="#(loginAccount.nickName)">
							</a>
							<textarea class="form-control" name="replyContent" id="replyContent" rows="3" placeholder="想要对ta说点什么?"></textarea>
							<p>
							<a class="btn btn-large btn-success" href='javascript:void(0);' onclick="bindSubmitEvent(#(friend.uid));">发送</a>
							</p>

							<!-- end 私信内容输入框 -->
						</div>
						<div class="mod-footer user-message-reply-setting">
							<!-- 私信内容列表 -->
							<a name="contents"></a>
							<ul class="newsfeed-reply-loading">
							#for(x : messagePage.list)
								<li class="active">
									<a href="/user/detaile/#(x.uid)" data-id="#(x.uid)" class="aw-user-img aw-border-radius-5">
										<img src="/upload/avatar/#(x.avatar)" alt="#(x.nickName)">
									</a>
									<div class="aw-item">
										<p>
											<a href="/user/detaile/#(x.uid)">#(x.nickName)</a>
											#(x.content)
										</p>
										<p class="text-color-999">#date(x.addtime, "yyyy-MM-dd")  <a href="javascript:;" class="text-color-999" onclick="deleteByMessageId(this, #(x.mid));">删除</a></p>
									</div>
								</li>
								#end
							</ul>
							<!-- end 私信内容列表 -->
						</div>

					</div>
					<!-- 分页 -->
					<div class="page-control">
						#@paginate(messagePage.pageNumber, messagePage.totalPage, "/my/message/" + friend.uid + "?p=")
					</div>
				</div>
				<!-- 侧边栏 -->
				#include("/_view/my/common/my_menu.html")
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
#end
#define js()
<script type="text/javascript" src="/static/layer/layer/layer.js"></script>
<script type="text/javascript" src="/static/js/message_reply.js"></script>
#end